# $Id$
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Contributor: Devin J. Pohly <djpohly+arch@gmail.com>

pkgname=sbsms
pkgver=2.0.2
pkgrel=2
pkgdesc="Library for time stretching and pitch scaling of audio"
arch=('i686' 'x86_64')
url="http://sbsms.sourceforge.net/"
license=('GPL')
depends=('gcc-libs')
options=('!staticlibs')
source=(http://downloads.sourceforge.net/project/sbsms/$pkgname/$pkgver/lib$pkgname-$pkgver.tar.gz)
sha1sums=('1842d0eae3cf5ac355d754e68fcdfd9391cd2fb7')

build() {
  cd lib$pkgname-$pkgver
  ./configure --prefix=/usr --enable-shared
  make
}

package() {
  cd lib$pkgname-$pkgver
  make DESTDIR="$pkgdir/" install
}
